<ion-header>

    <ion-toolbar content-page class="fir-toolbar">
        <ion-buttons start>
            <button ion-button icon-only (click)="goBack()">
                <i class="toolbar-back"></i>
            </button>
        </ion-buttons>
        <ion-title>
            我的收入
        </ion-title>
    </ion-toolbar>

</ion-header>


<ion-content class="cs-content">
   <div class="cs-item">
       <span class="item-left">年月</span>
       <span class="item-right">
           <span>
               <ion-datetime
                   [pickerOptions]="pickerOptions"
                   cancelText="取消" doneText="确定"
                   displayFormat="YYYY/MM"
                   pickerFormat="YYYYMM"
                   yearValues="{{yearList}}"
                   [(ngModel)]="sectionTime"
                   [min]="minTime"
                   [max]="maxTime">
               </ion-datetime>
           </span>
           <i class="section"></i>
       </span>
   </div>

    <div class="cs-item">
        <span class="item-left">时间</span>
        <span class="item-right">
            <span (click)="showActionSheet()">{{time}}</span>
            <i class="time"></i>
        </span>
    </div>
</ion-content>

<ion-footer>
    <div class="cs-footer">
        <button class="cs-btn" (click)="openAttachFile()">生成PDF</button>
    </div>
</ion-footer>
